import { useState, useEffect, useRef, useMemo, useCallback } from 'react'
import { useNavigate } from 'react-router-dom';

export default function NotFound() {
  let navigate = useNavigate();

  useEffect(() => {
    setTimeout(() => {
      navigate('/')
    },2000)
  },[])

  return (
    <>
      <div>未找到页面，即将跳转主页...</div>
    </>
  )
}